export default {
    text: 'CSS',
    collapsed: true,
    items: [
        { link: '/css/question', text: '问题' },
        { link: '/css/readme', text: '介绍' },
        { link: '/css/history', text: '发展史' },
        { link: '/css/bem', text: 'BEM 命名方案' },
        { link: '/css/selector', text: '选择器' },
        { link: '/css/bfc', text: 'BFC' },
        { link: '/css/var', text: 'var' },

        {
            text: '布局',
            collapsed: true,
            items: [
                { link: '/css/layout/flex', text: 'flex' },
                { link: '/css/layout/grid', text: 'grid' },
                { link: '/css/layout/float', text: 'float' },
                { link: '/css/layout/position', text: 'position' },
                { link: '/css/layout/display', text: 'display' },
                { link: '/css/layout/question', text: '经典布局' },
            ]
        },

        {
            text: '属性',
            collapsed: true,
            items: [
                { link: '/css/attribute/margin', text: 'margin' },
                { link: '/css/attribute/z-index', text: 'z-index' },
                { link: '/css/attribute/overflow', text: 'overflow' },
                { link: '/css/attribute/line-height', text: 'line-height' },
                { link: '/css/attribute/will-change', text: 'will-change' },
                { link: '/css/attribute/box-sizing', text: 'box-sizing' },
                { link: '/css/attribute/background', text: 'background' },
            ]
        },

        {
            text: '形变与动画',
            collapsed: true,
            items: [
                { link: '/css/transform/transform', text: 'transform' },
                { link: '/css/transform/animation', text: 'animation' },
            ]
        },

        {
            text: '移动端',
            collapsed: true,
            items: [
                { link: '/css/mobile/1px', text: '1px border' },
                { link: '/css/mobile/rem', text: 'rem 与 vw 方案' },
            ]
        },

        {
            text: '扩展',
            collapsed: true,
            items: [
                { link: '/css/extend/sass', text: 'Sass' },
            ]
        },
    ]
}